home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / theLifeArk.swf / scripts / __Packages / prop / pot.as < prev    next >
Encoding:
Text File  |  2011-09-19  |  397 b   |  22 lines

  1. class prop.pot extends MovieClip
  2. {
  3.    var runSta;
  4.    var steam;
  5.    var steamBtn;
  6.    function pot()
  7.    {
  8.       super();
  9.       this.runSta = "none";
  10.    }
  11.    function steamOn()
  12.    {
  13.       this.steam._visible = true;
  14.       this.steamBtn._visible = true;
  15.       _global.ctn.sndCtrl.playSound("snd_steam");
  16.    }
  17.    function disapear()
  18.    {
  19.       this.gotoAndPlay("disapear");
  20.    }
  21. }
  22.